﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="BackLogAdd.aspx.cs" Inherits="ITOMMS.Web.InsideManage.BackLogAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>待办事项添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>


</head>
<body>
    <form id="aspnetForm" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="2">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" alt="" />待办事项添加</div>
                    <asp:Button ID="Button1" CssClass="cssButton" runat="server" Text="返回" OnClick="Button1_Click"  /></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 162px">
                    事项标题：
                </td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txtTitle" runat="server" Width="247px"></asp:TextBox>
                    *</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 162px">
                    处理时间：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txtDoDate" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd'});"
                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></asp:TextBox>*</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 162px">
                    处理状态：</td>
                <td class="tdQueryField">
                    <asp:DropDownList ID="ddlState" runat="server" Width="123px">
                        <asp:ListItem Value="1">未处理</asp:ListItem>
                        <asp:ListItem Value="2">处理中</asp:ListItem>
                        <asp:ListItem Value="3">已处理</asp:ListItem>
                    </asp:DropDownList>*</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="width: 162px; height: 200px;">
                    事项内容：</td>
                <td class="tdQueryField" style="height: 200px">
                    <asp:TextBox ID="txtContent" runat="server" Height="200px" TextMode="MultiLine" Width="563px"></asp:TextBox>*</td>
            </tr>
            <tr>
                <td class="tblDataCaption" style="width: 162px">
                </td>
                <td class="tblDataCaption">
                    <asp:Button ID="btnSave" CssClass="cssButton" runat="server" Text="提交" OnClientClick="javascript:return confirm('你确认要提交吗?');"
                        OnClick="btnSave_Click" /></td>
            </tr>
        </table>
    </form>
</body>
</html>

<script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}
    
    $("#txtTitle").attr("dataType","Require");
    $("#txtTitle").attr("tip", " ");
    
    
    $("#txtContent").attr("dataType","Require");
    $("#txtContent").attr("tip", " ");
    

    
    $("#ddlState").attr("dataType","OverEqualsZero");
    $("#ddlState").attr("tip", "处理状态必须选取");
    

                
</script>
    